package org.cid54.jshopper.service;

import java.util.List;
import org.cid54.jshopper.model.ShoppingList;

/**
 *
 * @author fgo
 */
public interface ShoppingListService {

    ShoppingList getShoppingListById(long shoppingListId);

    void create(ShoppingList list);

    void update(long shoppingListId, ShoppingList list);

    void delete(long shoppingListId);

    void deleteShopItem(long shoppingListId, long itemId);

    List<ShoppingList> getAll(long userId);

}
